#!/bin/sh

function clean()
{
	echo "Attempting to clean $1 ."
	if cd $1 2>/dev/null
	then
		rm -rf ./.svn
		
		for i in *
		do
			if [ -d $i ]
			then
				clean "$i"
			fi
		done

		cd ..
	fi
}

clean $1
